-- GENERATED SPELL FOR [Champion Swiftblade] --


function spell0_17811(pUnit, Event) --@Flash of Light,Heal--
pUnit:FullCastSpellOnTarget(19939,pUnit)
pUnit:RegisterEvent('Sorts_17811', 1500, 1)
end

function Sorts_17811(pUnit, Event)
local choix_sorts_17811 = math.random(0, 0)
if choix_sorts_17811 == 0 then
pUnit:RegisterEvent('spell0_17811', 1, 1)
end
end

function mob17811_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17811', math.random(1500, 3000), 1)
end

function mob17811_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17811_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17811_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17811, 1, 'mob17811_Action')
RegisterUnitEvent(17811, 2, 'mob17811_Leave')
RegisterUnitEvent(17811, 3, 'mob17811_Kill')
RegisterUnitEvent(17811, 4, 'mob17811_Die')
